<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-10-20 17:23:10
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 工序
 */

namespace App\Models;

use App\Traits\MaterialTrait;

class ProProcessesWipBack extends BaseModel
    {
    use MaterialTrait;
    public $_auto_resetlot_name = false;
    public $timestamps = true;
    public $table = "sys_pro_process_wip_back";
    protected $guarded = [];
    protected $casts = [];

    public function process()
        {
        return $this->belongsTo(ProProcesses::class);
        }

    public function company()
        {
        return $this->belongsTo(Company::class);
        }
    public function outfactory()
        {
        return $this->belongsTo(Company::class);
        }
    }
